<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<footer class="footer">
  <div class="container">
    <p>&copy; 2019 <a href="http://www.tianjindong.cn"> </a> &nbsp; <a href="http://www.miitbeian.gov.cn" target="_blank" rel="nofollow">鄂ICP备19000486号</a> &nbsp; &nbsp; </p>
  </div>
  <div id="gotop"><a class="gotop"></a></div>
</footer>
<!--右键菜单列表-->
<div id="rightClickMenu">
	<ul id="visit-info" class="list-group rightClickMenuList">
		<!-- 右键菜单所在位置 -->
	</ul>
</div>
<script>
	$(function(){
		loadVisitInfo();
	});
	function loadVisitInfo(){
		var content="";
		$.post(
			"${pageContext.request.contextPath}/visit-info.action",
			function(data) {
				content+="<li class='list-group-item disabled'>欢迎访问听到微笑的博客</li><li class='list-group-item'><span>IP：</span> "+data.ip+"</li>";
				content+="<li class='list-group-item'><span>系统：</span>"+data.system+"</li><li class='list-group-item'><span>浏览器：</span> "+data.browser+"</li>";
				$("#visit-info").append(content);
			},	
			"json"
		);
	}
	
</script>
